home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 201-225 / disk_222 / plplot / src / source.zoo / plgspa.c < prev    next >
C/C++ Source or Header  |  1989-05-15  |  504b  |  21 lines

  1. /* Gets subpage boundaries in absolute coordinates (mm from bottom */
  2. /* left-hand corner of page) */
  3.  
  4. #include "plplot.h"
  5.  
  6. void plgspa(xmin,xmax,ymin,ymax)
  7. float *xmin, *xmax, *ymin, *ymax;
  8. {
  9.       float spdxmi, spdxma, spdymi, spdyma;
  10.  
  11.       int level;
  12.  
  13.       glev(&level);
  14.       if (level < 1) fatal("Please call PLSTAR before PLGSPA.");
  15.       gspd(&spdxmi,&spdxma,&spdymi,&spdyma);
  16.       *xmin = dcmmx(spdxmi);
  17.       *xmax = dcmmx(spdxma);
  18.       *ymin = dcmmy(spdymi);
  19.       *ymax = dcmmy(spdyma);
  20. }
  21.